projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3461f
)
gtk-demo: Include config.h first
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 May 2013 16:16:51 +0000
(12:16 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 May 2013 19:38:46 +0000
(15:38 -0400)
If config.h is included after gdkversionmacros.h, _GDK_EXTERN
gets redefined and cpp doesn't like that.
demos/gtk-demo/appwindow.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/appwindow.c
b/demos/gtk-demo/appwindow.c
index 849a3f1bc874900affb48cb20b8e9721a8ab13c0..df4d06bb22b46110e63315747fdddbdcaac18100 100644
(file)
--- a/
demos/gtk-demo/appwindow.c
+++ b/
demos/gtk-demo/appwindow.c
@@
-5,9
+5,10
@@
* This example uses GtkUIManager and GtkActionGroup.
*/
-#include <gtk/gtk.h>
#include "config.h"
+#include <gtk/gtk.h>
+
static GtkWidget *window = NULL;
static GtkWidget *infobar = NULL;
static GtkWidget *messagelabel = NULL;